Finite difference method can deal with regular boundary conditions . in this paper , we discrete the water domain into rectangular meshes , and simulate the propagation , reflection and diffraction of water waves . we just specify waves source , the movement of water waves can be simulated automatically 有限差分方法能夠處理具有規(guī)則邊界水域的水流現(xiàn)象,在本文中,我們把求解的水域離散成結(jié)構(gòu)矩形網(wǎng)格,對水流的折射、反射、繞射等水流現(xiàn)象進(jìn)行了動畫模擬,我們僅僅指定產(chǎn)生水流動畫的波源,水流動畫的細(xì)節(jié)均由數(shù)值方法產(chǎn)生,不需要人工的干預(yù)。